package Oct_2020.part1;

import java.util.Arrays;

public class main {
    public static void main(String[] args) {
        Manager Lisa=new Manager("lisa",false,18,10000.0);
        Manager Robert=new Manager("Robert",true,25,10000.5);
        Manager Jackey=new Manager("Jackey",false,20,18000);
        Manager[] managers=new Manager[]{Lisa,Robert,Jackey};
        Lisa.setCash(8000.0);
        Lisa.RaiseSalary(1.50);
        System.out.println(Lisa.getSalary());
        System.out.println(Manager.class.toString());
        System.out.println(Manager.class.getSuperclass());
        demo d=new demo();
        d.test();
        demo.a(5);
//        System.out.println(Lisa.getClass().getName());
//        排序
        System.out.println(Arrays.toString(managers));
        Arrays.sort(managers);
        System.out.println(Arrays.toString(managers));
    }
}
class demo{
    public void test(){
        int a=10;
        System.out.println(a);
    }
    public static int a(int a){
        return a;
    }
}
